<div class="panel panel-default">
    <div class="panel-heading">
        <h4>Register User Form</h4>
    </div>
    <div class="panel-body">
        <form role="form" action="">
            <div class="form-group">
                <label for="">Email</label>
                <input name="email" class="form-control" type="email" ng-model="user.email"/>
            </div>
            <div class="form-group">
                <label for="">Password</label>
                <input class="form-control" type="password" name="password" ng-model="user.password"/>
            </div>
            <div class="form-group">
                <label for="">Password Repeat</label>
                <input class="form-control" type="password" name="password" ng-model="user.password_repeat"/>
            </div>
            <div class="form-group">
                <label for="">Name</label>
                <input class="form-control" type="text" ng-model="user.name"/>
            </div>
            <div class="form-group">
                <label for="">Age</label>
                <input class="form-control" type="number" ng-model="user.age"/>
            </div>
            <div class="form-group">
                <label for="">Sex</label>
                <br>
                <label class="radio-inline"><input ng-model="user.sex" type="radio" name="sex" value="male"/>Male</label>
                <label class="radio-inline"><input ng-model="user.sex" type="radio" name="sex" value="female"/>Female</label>
            </div>

            <div class="form-group">
                <label for="">Image</label>
                <input class="form-control" type="file"/>
            </div>

            <div>
                <button class="btn btn-primary" ng-click="register()">Register</button>
            </div>
        </form>

    </div>
</div>